﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="cmdbDataSet1" targetNamespace="http://tempuri.org/cmdbDataSet1.xsd" xmlns:mstns="http://tempuri.org/cmdbDataSet1.xsd" xmlns="http://tempuri.org/cmdbDataSet1.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="cmdbConnectionString1" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="cmdbConnectionString1 (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.TelerikForms.Properties.Settings.GlobalReference.Default.cmdbConnectionString1" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="uspDrawerFetchAllTableAdapter" GeneratorDataComponentClassName="uspDrawerFetchAllTableAdapter" Name="uspDrawerFetchAll" UserDataComponentName="uspDrawerFetchAllTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="cmdbConnectionString1 (Settings)" DbObjectName="cmdb.dbo.uspDrawerFetchAll" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.uspDrawerFetchAll</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="DrawerID" DataSetColumn="DrawerID" />
              <Mapping SourceColumn="DrawerName" DataSetColumn="DrawerName" />
              <Mapping SourceColumn="Address" DataSetColumn="Address" />
              <Mapping SourceColumn="Tel" DataSetColumn="Tel" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="cmdbDataSet1" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="cmdbDataSet1" msprop:Generator_UserDSName="cmdbDataSet1">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="uspDrawerFetchAll" msprop:Generator_TableClassName="uspDrawerFetchAllDataTable" msprop:Generator_TableVarName="tableuspDrawerFetchAll" msprop:Generator_TablePropName="uspDrawerFetchAll" msprop:Generator_RowDeletingName="uspDrawerFetchAllRowDeleting" msprop:Generator_UserTableName="uspDrawerFetchAll" msprop:Generator_RowChangingName="uspDrawerFetchAllRowChanging" msprop:Generator_RowEvHandlerName="uspDrawerFetchAllRowChangeEventHandler" msprop:Generator_RowDeletedName="uspDrawerFetchAllRowDeleted" msprop:Generator_RowEvArgName="uspDrawerFetchAllRowChangeEvent" msprop:Generator_RowChangedName="uspDrawerFetchAllRowChanged" msprop:Generator_RowClassName="uspDrawerFetchAllRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="DrawerID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnDrawerID" msprop:Generator_ColumnPropNameInRow="DrawerID" msprop:Generator_ColumnPropNameInTable="DrawerIDColumn" msprop:Generator_UserColumnName="DrawerID" type="xs:int" />
              <xs:element name="DrawerName" msprop:Generator_ColumnVarNameInTable="columnDrawerName" msprop:Generator_ColumnPropNameInRow="DrawerName" msprop:Generator_ColumnPropNameInTable="DrawerNameColumn" msprop:Generator_UserColumnName="DrawerName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Address" msprop:Generator_ColumnVarNameInTable="columnAddress" msprop:Generator_ColumnPropNameInRow="Address" msprop:Generator_ColumnPropNameInTable="AddressColumn" msprop:Generator_UserColumnName="Address">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Tel" msprop:Generator_ColumnVarNameInTable="columnTel" msprop:Generator_ColumnPropNameInRow="Tel" msprop:Generator_ColumnPropNameInTable="TelColumn" msprop:Generator_UserColumnName="Tel">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:uspDrawerFetchAll" />
      <xs:field xpath="mstns:DrawerID" />
    </xs:unique>
  </xs:element>
</xs:schema>